package com.xianxiaohui.factory.method;

/**
 * @author lvxiongfei
 */
public class Main {
    public static void main(String[] args) {
        NumberFactory numberFactory = NumberFactory.getInstance();
        Number number = numberFactory.parse("123.45");

        System.out.println(number);
    }
}
